package com.ruoyi.answer.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.answer.domain.ExamPaperQuestion;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;
import java.util.List;


/**
 * 试卷管理视图对象 exam_paper
 *
 * @author kun_er
 * @date 2022-08-16
 */
@Data
@ExcelIgnoreUnannotated
public class ExamPaperVo {

    private static final long serialVersionUID = 1L;

    /**
     * 自动编号
     */
    @ExcelProperty(value = "自动编号")
    private Long id;

    /**
     * 所属课程id
     */
    @ExcelProperty(value = "所属课程id")
    private Long trainingId;

    private String title;

    /**
     * 试卷类型（A,B,C）
     */
    @ExcelProperty(value = "试卷类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "exam_paper_type")
    private String paperType;

    /**
     * 试卷名称
     */
    @ExcelProperty(value = "试卷名称")
    private String paperName;

    /**
     * 阅卷人账户
     */
    @ExcelProperty(value = "阅卷人账户")
    private String markingAccount;
    /**
     *  考试开始时间
     */
    @ExcelProperty(value = "考试开始时间")
    private Date startTime;
    /**
     * 试卷分数
     */
    @ExcelProperty(value = "试卷分数")
    private Long totalScore;

    /**
     * 及格分数
     */
    @ExcelProperty(value = "及格分数")
    private Long passingScore;
    private String name;
    /**
     * 考试时间
     */
    @ExcelProperty(value = "考试时间")
    private Long examDuration;

    /**
     * 试卷状态
     */
    @ExcelProperty(value = "试卷状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "exam_paper_status")
    private Long state;


}
